package com.qf.service;

import com.qf.entity.Product;
import com.qf.entity.ProductDTO;

import java.util.List;

/**
 * --- 万物归集  不随你我 ---
 * <p>
 * 快捷短语
 * main ==  public static void main(String[] args);
 * sout ==  System.out.println();
 *
 * @author shuhan
 * @date 2025/4/27
 * @desc 商品服务接口
 */
public interface ProductService {
    List<Product> findAll(ProductDTO productDTO);

    Boolean deleteById(int id);

    Boolean addProduct(Product product);

    Boolean updateProduct(Product product);

    void insertList(List<Product> cachedDataList);
}
